class NotificationModel {
  int? id;
  int? type;
  int? taskType;

  NotificationModel({
    this.type,
    this.taskType,
    this.id,
  });

  NotificationModel.fromJson(dynamic json) {
    id = json['id'];
    type = json['type'];
    taskType = json['taskType'];
  }

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['type'] = type;
    map['taskType'] = taskType;
    return map;
  }
}
